import { listMaterials } from "~~/server/service/material.service"

export default  defineEventHandler(async (event) => {
  const res = await listMaterials()
  return res
})